projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a62e1b9
)
Fix some GtkComboBoxText problems
author
Matthias Clasen
<mclasen@redhat.com>
Sat, 16 Oct 2010 12:17:34 +0000
(08:17 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Sat, 16 Oct 2010 12:17:34 +0000
(08:17 -0400)
We must use entry-text-column explicitly to 0, since it defaults to -1.
gtk/gtkcomboboxtext.c
patch
|
blob
|
history
diff --git
a/gtk/gtkcomboboxtext.c
b/gtk/gtkcomboboxtext.c
index 578b4dfdd67693d8be151ccc46bb724f82879943..cd4a0b0725ad3d238db431902e90dd0d8218a540 100644
(file)
--- a/
gtk/gtkcomboboxtext.c
+++ b/
gtk/gtkcomboboxtext.c
@@
-78,7
+78,9
@@
gtk_combo_box_text_init (GtkComboBoxText *combo_box)
GtkWidget *
gtk_combo_box_text_new (void)
{
- return g_object_new (GTK_TYPE_COMBO_BOX_TEXT, NULL);
+ return g_object_new (GTK_TYPE_COMBO_BOX_TEXT,
+ "entry-text-column", 0,
+ NULL);
}